/*
 * Created by SharpDevelop.
 * User: Administrator
 * Date: 13.11.2007
 * Time: 12:36
 * 
 */

using System;
using System.Collections;

namespace notebooklet
{
	/// <summary>
	/// Description of IDataCtrl.
	/// </summary>
	public interface IDataCtrl<T> : IEnumerator, IEnumerable where T:class
	{
		bool load();
		bool save();

		bool add(T obj);
		T get(int id);
		int count();
	}
}
